package com.example.testlib

// Kotlin 普通枚举类
enum class Language {
    English,
    Chinese,
    Japanese
}


// Kotlin 密闭类（高级枚举类）
sealed class Language2 {
    object English: Language2()
    object Japanese: Language2()
    class Chinese(var isDialect: Boolean): Language2()
}